package www.openteam.com.bean;

import android.os.Parcel;
import android.os.Parcelable;

import java.util.List;

/**
 * 带审核类别的订单
 * Created by kylin on 2016/9/26.
 */

public class OrderApproval {


    /**
     * status : true
     * info : success
     * data : [{"rownumber":"1","id":26959,"rdsno":"V1SO14090770","custid":"XBDQ0001","custname":"廣東新寶電器股份有限公司","moneyName":"人民币  RMB","orderdate":"2014-09-27 00:00:00","prodno":"2CNK13-02810,2CCB13-03791","prodname":"TA8518说明书(CPT240TN IB-10605C)70600001645,TA8518彩盒(CPT240TN-320B-DL)70300001230（报废增加警告语）","paynumb":"<paynumb>3353<\/paynumb><paynumb>3353<\/paynumb>","othernumb":"<othernumb>34<\/othernumb><othernumb>34<\/othernumb>","price":"<price>1.290000<\/price><price>5.980000<\/price>","submeoney":"<submeoney>4325.37<\/submeoney><submeoney>20050.94<\/submeoney>","orderamount":"24376.31","statusn":"已关账"},{"rownumber":"2","id":26964,"rdsno":"V1SO14090775","custid":"XBDQ0001","custname":"廣東新寶電器股份有限公司","moneyName":"人民币  RMB","orderdate":"2014-09-29 00:00:00","prodno":"2CNK13-02600,2CCB13-02598","prodname":"W91E说明书TA8522(CPT142 IB-11107B(8PP))70600006276,W91彩盒TA8522(CPT142BK-320A)70300004871","paynumb":"<paynumb>2615<\/paynumb><paynumb>2615<\/paynumb>","othernumb":"<othernumb>26<\/othernumb><othernumb>26<\/othernumb>","price":"<price>1.160000<\/price><price>5.000000<\/price>","submeoney":"<submeoney>3033.40<\/submeoney><submeoney>13075.00<\/submeoney>","orderamount":"16108.40","statusn":"已关账"},{"rownumber":"3","id":26965,"rdsno":"V1SO14090776","custid":"XBDQ0001","custname":"廣東新寶電器股份有限公司","moneyName":"人民币  RMB","orderdate":"2014-09-29 00:00:00","prodno":"2CCB13-02596,2CNK13-02599","prodname":"W91E彩盒TA8250(CPT122BK-320A)70300004863,W91E说明书TA8250(CPT122 IB-11106B(8PP)70600006195","paynumb":"<paynumb>4153<\/paynumb><paynumb>4153<\/paynumb>","othernumb":"<othernumb>41<\/othernumb><othernumb>41<\/othernumb>","price":"<price>4.030000<\/price><price>1.100000<\/price>","submeoney":"<submeoney>16736.59<\/submeoney><submeoney>4568.30<\/submeoney>","orderamount":"21304.89","statusn":"已关账"},{"rownumber":"4","id":26966,"rdsno":"V1SO14090777","custid":"XBDQ0001","custname":"廣東新寶電器股份有限公司","moneyName":"人民币  RMB","orderdate":"2014-09-29 00:00:00","prodno":"2CNK13-02599,2CCB13-02596","prodname":"W91E说明书TA8250(CPT122 IB-11106B(8PP)70600006195,W91E彩盒TA8250(CPT122BK-320A)70300004863","paynumb":"<paynumb>4153<\/paynumb><paynumb>4153<\/paynumb>","othernumb":"<othernumb>41<\/othernumb><othernumb>41<\/othernumb>","price":"<price>1.100000<\/price><price>4.030000<\/price>","submeoney":"<submeoney>4568.30<\/submeoney><submeoney>16736.59<\/submeoney>","orderamount":"21304.89","statusn":"已关账"},{"rownumber":"5","id":26967,"rdsno":"V1SO14090778","custid":"HWDG0001","custname":"华为终端（东莞）有限公司","moneyName":"人民币  RMB","orderdate":"2014-09-29 00:00:00","prodno":"2BPB13-06173,2BPB13-06174,2BPB13-06175","prodname":"R215 51710FFT,R215 51710FFT,R215 51710FFT","paynumb":"<paynumb>5300<\/paynumb><paynumb>5300<\/paynumb><paynumb>5300<\/paynumb>","othernumb":"<othernumb>0<\/othernumb><othernumb>0<\/othernumb><othernumb>0<\/othernumb>","price":"<price>1.260090<\/price><price>1.260090<\/price><price>1.260090<\/price>","submeoney":"<submeoney>6678.48<\/submeoney><submeoney>6678.48<\/submeoney><submeoney>6678.48<\/submeoney>","orderamount":"20035.44","statusn":"已关账"},{"rownumber":"6","id":26968,"rdsno":"V1SO14090779","custid":"HWDG0001","custname":"华为终端（东莞）有限公司","moneyName":"人民币  RMB","orderdate":"2014-09-29 00:00:00","prodno":"2BPB13-05924,2BPB13-05925","prodname":"Vodafone K4203 51710GKU 彩盒（外盒）,Vodafone K4203 51710GKU 彩盒（内咭）","paynumb":"<paynumb>1000<\/paynumb><paynumb>1000<\/paynumb>","othernumb":"<othernumb>0<\/othernumb><othernumb>0<\/othernumb>","price":"<price>0.371475<\/price><price>0.371475<\/price>","submeoney":"<submeoney>371.48<\/submeoney><submeoney>371.48<\/submeoney>","orderamount":"742.96","statusn":"已关账"},{"rownumber":"7","id":26971,"rdsno":"V1SO14090782","custid":"LEY00001","custname":"乐恩意纸制品贸易(深圳)有限公司","moneyName":"人民币  RMB","orderdate":"2014-09-29 00:00:00","prodno":"2BCB14-03223,2BCB14-03223,2BCB14-03223,2BCB14-03223,2BCB14-03223,2BCB14-03223,2BCB14-03223","prodname":"Adidas NH1X48 FLEXO,Adidas NH1X48 FLEXO,Adidas NH1X48 FLEXO,Adidas NH1X48 FLEXO,Adidas NH1X48 FLEXO,Adidas NH1X48 FLEXO,Adidas NH1X48 FLEXO","paynumb":"<paynumb>9749<\/paynumb><paynumb>5552<\/paynumb><paynumb>1<\/paynumb><paynumb>14517<\/paynumb><paynumb>7994<\/paynumb><paynumb>1187<\/paynumb><paynumb>1274<\/paynumb>","othernumb":"<othernumb>97<\/othernumb><othernumb>55<\/othernumb><othernumb>0<\/othernumb><othernumb>145<\/othernumb><othernumb>79<\/othernumb><othernumb>11<\/othernumb><othernumb>12<\/othernumb>","price":"<price>1.297530<\/price><price>1.297530<\/price><price>1.297530<\/price><price>1.297530<\/price><price>1.297530<\/price><price>1.297530<\/price><price>1.297530<\/price>","submeoney":"<submeoney>12649.62<\/submeoney><submeoney>7203.89<\/submeoney><submeoney>1.30<\/submeoney><submeoney>18836.24<\/submeoney><submeoney>10372.45<\/submeoney><submeoney>1540.17<\/submeoney><submeoney>1653.05<\/submeoney>","orderamount":"52256.72","statusn":"已关账"},{"rownumber":"8","id":26977,"rdsno":"V1SO14090788","custid":"ZXKX0001","custname":"深圳市中兴康讯电子有限公司","moneyName":"人民币  RMB","orderdate":"2014-09-29 00:00:00","prodno":"2BPB14-00603,2BPB14-00605","prodname":"079584004184  彩盒,079584004184 内咭","paynumb":"<paynumb>896<\/paynumb><paynumb>896<\/paynumb>","othernumb":"<othernumb>0<\/othernumb><othernumb>0<\/othernumb>","price":"<price>0.307500<\/price><price>0.307500<\/price>","submeoney":"<submeoney>275.52<\/submeoney><submeoney>275.52<\/submeoney>","orderamount":"551.04","statusn":"已关账"},{"rownumber":"9","id":26978,"rdsno":"V1SO14090789","custid":"YLTX0001","custname":"东莞宇龙通信科技有限公司","moneyName":"人民币  RMB","orderdate":"2014-09-29 00:00:00","prodno":"2BWP14-01896","prodname":"Raptor 8865U 910000413","paynumb":"<paynumb>60000<\/paynumb>","othernumb":"<othernumb>0<\/othernumb>","price":"<price>4.823000<\/price>","submeoney":"<submeoney>289380.00<\/submeoney>","orderamount":"289380.00","statusn":"已关账"},{"rownumber":"10","id":26983,"rdsno":"V1SO14090794","custid":"YHZY0001","custname":"怡和纸业(深圳)有限公司(美皇)","moneyName":"人民币  RMB","orderdate":"2014-09-29 00:00:00","prodno":"2CHT14-00955","prodname":"120101114280003  ONA14TA069 吸塑咭","paynumb":"<paynumb>1163<\/paynumb>","othernumb":"<othernumb>11<\/othernumb>","price":"<price>0.620000<\/price>","submeoney":"<submeoney>721.06<\/submeoney>","orderamount":"721.06","statusn":"已关账"}]
     */

    private List<DataEntity> data;


    public List<DataEntity> getData() {
        return data;
    }


//    private String rownumber;
//    private int id;
//    private String rdsno;
//    private String custid;
//    private String custname;
//    private String moneyName;
//    private String orderdate;
//    private String prodno;
//    private String prodname;
//    private String paynumb;
//    private String othernumb;
//    private String price;
//    private String submeoney;
//    private String orderamount;
//    private String statusn;
//    private String custSName;
//    //        custorderid,Businessno
//    private String custorderid;
//    private String Businessno;


    public static class DataEntity implements Parcelable {
        /**
         * rownumber : 1
         * id : 26959
         * rdsno : V1SO14090770
         * custid : XBDQ0001
         * custname : 廣東新寶電器股份有限公司
         * moneyName : 人民币  RMB
         * orderdate : 2014-09-27 00:00:00
         * prodno : 2CNK13-02810,2CCB13-03791
         * prodname : TA8518说明书(CPT240TN IB-10605C)70600001645,TA8518彩盒(CPT240TN-320B-DL)70300001230（报废增加警告语）
         * paynumb : <paynumb>3353</paynumb><paynumb>3353</paynumb>
         * othernumb : <othernumb>34</othernumb><othernumb>34</othernumb>
         * price : <price>1.290000</price><price>5.980000</price>
         * submeoney : <submeoney>4325.37</submeoney><submeoney>20050.94</submeoney>
         * orderamount : 24376.31
         * statusn : 已关账
         */

        private String rownumber;
        private int id;
        private String rdsno;
        private String custid;
        private String custname;
        private String moneyName;
        private String orderdate;
        private String prodno;
        private String prodname;
        private String paynumb;
        private String othernumb;
        private String price;
        private String submeoney;
        private String orderamount;
        private String statusn;
        private String custSName;
        private String custorderid;
        private String Businessno;
        private String senddate;
        private String oStatus;
        private String paperinf;
        private String technicsinf;
        private String CustOrderId2;
        private String CustMaterialID;


        public void setRownumber(String rownumber) {
            this.rownumber = rownumber;
        }

        public void setId(int id) {
            this.id = id;
        }

        public void setRdsno(String rdsno) {
            this.rdsno = rdsno;
        }

        public void setCustid(String custid) {
            this.custid = custid;
        }

        public void setCustname(String custname) {
            this.custname = custname;
        }

        public void setMoneyName(String moneyName) {
            this.moneyName = moneyName;
        }

        public void setOrderdate(String orderdate) {
            this.orderdate = orderdate;
        }

        public void setProdno(String prodno) {
            this.prodno = prodno;
        }

        public void setProdname(String prodname) {
            this.prodname = prodname;
        }

        public void setPaynumb(String paynumb) {
            this.paynumb = paynumb;
        }

        public void setOthernumb(String othernumb) {
            this.othernumb = othernumb;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public void setSubmeoney(String submeoney) {
            this.submeoney = submeoney;
        }

        public void setOrderamount(String orderamount) {
            this.orderamount = orderamount;
        }

        public void setStatusn(String statusn) {
            this.statusn = statusn;
        }

        public String getRownumber() {
            return rownumber;
        }

        public int getId() {
            return id;
        }

        public String getRdsno() {
            return rdsno;
        }

        public String getCustid() {
            return custid;
        }

        public String getCustname() {
            return custname;
        }

        public String getMoneyName() {
            return moneyName;
        }

        public String getOrderdate() {
            return orderdate;
        }

        public String getProdno() {
            return prodno;
        }

        public String getProdname() {
            return prodname;
        }

        public String getPaynumb() {
            return paynumb;
        }

        public String getOthernumb() {
            return othernumb;
        }

        public String getPrice() {
            return price;
        }

        public String getSubmeoney() {
            return submeoney;
        }

        public String getOrderamount() {
            return orderamount;
        }

        public String getStatusn() {
            return statusn;
        }

        public String getCustSName() {
            return custSName;
        }

        public void setCustSName(String custSName) {
            this.custSName = custSName;
        }

        public String getCustorderid() {
            return custorderid;
        }

        public void setCustorderid(String custorderid) {
            this.custorderid = custorderid;
        }

        public String getBusinessno() {
            return Businessno;
        }

        public void setBusinessno(String businessno) {
            Businessno = businessno;
        }

        public String getSenddate() {
            return senddate;
        }

        public void setSenddate(String senddate) {
            this.senddate = senddate;
        }


        public String getoStatus() {
            return oStatus;
        }

        public void setoStatus(String oStatus) {
            this.oStatus = oStatus;
        }

        public String getPaperinf() {
            return paperinf;
        }

        public void setPaperinf(String paperinf) {
            this.paperinf = paperinf;
        }

        public String getTechnicsinf() {
            return technicsinf;
        }

        public void setTechnicsinf(String technicsinf) {
            this.technicsinf = technicsinf;
        }

        public String getCustOrderId2() {
            return CustOrderId2;
        }

        public void setCustOrderId2(String custOrderId2) {
            CustOrderId2 = custOrderId2;
        }

        public String getCustMaterialID() {
            return CustMaterialID;
        }

        public void setCustMaterialID(String custMaterialID) {
            CustMaterialID = custMaterialID;
        }

        @Override
        public int describeContents() {
            return 0;
        }

        @Override
        public void writeToParcel(Parcel dest, int flags) {
            dest.writeInt(id);
            dest.writeString(rownumber);
            dest.writeString(rdsno);
            dest.writeString(custid);
            dest.writeString(custname);
            dest.writeString(moneyName);
            dest.writeString(orderdate);
            dest.writeString(prodno);
            dest.writeString(prodname);
            dest.writeString(paynumb);
            dest.writeString(othernumb);
            dest.writeString(price);
            dest.writeString(submeoney);
            dest.writeString(orderamount);
            dest.writeString(statusn);
            dest.writeString(custSName);
            dest.writeString(custorderid);
            dest.writeString(Businessno);
            dest.writeString(senddate);
            dest.writeString(oStatus);
            dest.writeString(paperinf);
            dest.writeString(technicsinf);
            dest.writeString(CustOrderId2);
            dest.writeString(CustMaterialID);

        }

        public static final Creator<OrderApproval.DataEntity> CREATOR = new Creator<DataEntity>() {
            @Override
            public DataEntity createFromParcel(Parcel source) {
                return new DataEntity(source);
            }

            @Override
            public DataEntity[] newArray(int size) {
                return new DataEntity[size];
            }
        };

        public DataEntity(Parcel in) {
            id = in.readInt();
            rownumber = in.readString();
            rdsno = in.readString();
            custid = in.readString();
            custname = in.readString();
            moneyName = in.readString();
            orderdate = in.readString();
            prodno = in.readString();
            prodname = in.readString();
            paynumb = in.readString();
            othernumb = in.readString();
            price = in.readString();
            submeoney = in.readString();
            orderamount = in.readString();
            statusn = in.readString();
            custSName = in.readString();
            custorderid = in.readString();
            Businessno = in.readString();
            senddate = in.readString();
            oStatus = in.readString();
            paperinf = in.readString();
            technicsinf = in.readString();
            CustOrderId2 = in.readString();
            CustMaterialID = in.readString();

        }
    }
}
